﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Client.Services
{
    /// <summary>
    /// 支付服务抽象
    /// </summary>
    public abstract class APayService : IPayService
    {
        private readonly IServiceClient client;
        /// <summary>
        /// 实例化 APayService 类新实例
        /// </summary>
        /// <param name="client"></param>
        protected APayService(IServiceClient client)
        {
            this.client = client;
        }

        /// <summary>
        /// 获取客户端
        /// </summary>
        public IServiceClient Client
        {
            get
            {
                return this.client;
            }
        }
    }
}
